package com.flower.pojo;

import java.util.Date;

public class Comment {
	private int cmid; // 评论编号
	private int uid; // 用户编号
	private int pid; // 商品编号
	private String cmcontent; // 评论内容
	private Date cmtime; // 评论时间
	private String cmimage;// 评论图片
	private int score;	//星級分数
	
	public int getCmid() {
		return cmid;
	}

	public void setCmid(int cmid) {
		this.cmid = cmid;
	}

	public int getUid() {
		return uid;
	}

	public void setUid(int uid) {
		this.uid = uid;
	}

	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public String getCmcontent() {
		return cmcontent;
	}

	public void setCmcontent(String cmcontent) {
		this.cmcontent = cmcontent;
	}

	public Date getCmtime() {
		return cmtime;
	}

	public void setCmtime(Date cmtime) {
		this.cmtime = cmtime;
	}

	public String getCmimage() {
		return cmimage;
	}

	public void setCmimage(String cmimage) {
		this.cmimage = cmimage;
	}

	public int getScore() {
		return score;
	}

	public void setScore(int score) {
		this.score = score;
	}

	@Override
	public String toString() {
		return "Comment [cmid=" + cmid + ", uid=" + uid + ", pid=" + pid
				+ ", cmcontent=" + cmcontent + ", cmtime=" + cmtime
				+ ", cmimage=" + cmimage + ", score=" + score + "]";
	}

}
